package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农合机构管理对象 sys_rural
 * 
 * @author moweiyu
 * @date 2021-04-28
 */
public class SysRural extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 区域编码 */
    @Excel(name = "区域编码")
    private Long areaId;

    /** 机构编码 */
    @Excel(name = "机构编码")
    private Long ruralId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String ruralName;

    /** 级别 */
    @Excel(name = "级别")
    private String ruralRank;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setRuralId(Long ruralId) 
    {
        this.ruralId = ruralId;
    }

    public Long getRuralId() 
    {
        return ruralId;
    }
    public void setRuralName(String ruralName) 
    {
        this.ruralName = ruralName;
    }

    public String getRuralName() 
    {
        return ruralName;
    }
    public void setRuralRank(String ruralRank) 
    {
        this.ruralRank = ruralRank;
    }

    public String getRuralRank() 
    {
        return ruralRank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("ruralId", getRuralId())
            .append("ruralName", getRuralName())
            .append("ruralRank", getRuralRank())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
